package com.example.sofa_module.sofa.fragments.pics;

import com.example.sofa_module.sofa.entity.InvitationEntity;
import com.example.sofa_module.sofa.entity.like.LikeEntity;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {

    @GET("serverdemo/feeds/queryHotFeedsList?feedId=0&feedType=pics&pageCount=10&userId=1")
    Observable<InvitationEntity>requestSofaPics();

    //帖子喜欢接口
    @GET("serverdemo/ugc/toggleCommentLike")
    Observable<LikeEntity>requestSofaLike(@Query("commentId") int commentId, @Query("userId") int userId);
}
